package TestDemo;

class OutClass{
    public int x1 = 10;
    public int x2 = 20;
    private int x3 = 30;

    class Inclass{
        public int x1 = 1000;
        public int x5 = 2000;
        private int x6 = 3000;
        public void read(int x4,int x5){
            this.x1 = x4;
            this.x5 = x5;
        }
        public void show(){
            System.out.println(OutClass.this.x1);
        }
    }

    public void test(){
        System.out.println("hehe");
    }

    public void show(){
        System.out.println(x1);
        System.out.println(x2);
        System.out.println(x3);
    }
}

class C{
    public int a;
    public int b;
}

class D extends C{
    public int i;
    public int j;
    public int a;
    public void show(){
        System.out.println(super.a);
        System.out.println(super.b);
    }
}

public class TestDemo {



    public static void main2(String[] args) {
        OutClass outClass = new OutClass();
        OutClass.Inclass inclass = outClass.new Inclass();
        //OutClass.Inclass inClass = new OutClass().new Inclass();
        outClass.show();
        inclass.show();
    }
}
